/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package amd.database;

/**
 *
 * @author Latifah Dwi Nurachma
 */
public class ConnectionDbLostException extends Exception{
    private String dbUrl;

    public ConnectionDbLostException(String dbUrl) {
        this.dbUrl = dbUrl;
    }

    public String getConfig(){
        return dbUrl;
    }

    @Override
    public String toString() {
        return "Koneksi ke database \'"+ dbUrl + "\' terputus.";
    }
}
